package com.atguigu.gulimail.ware.service;

import com.atguigu.gulimail.ware.vo.MergeVo;
import com.atguigu.gulimail.ware.vo.PurchaseFinishVo;
import com.atguigu.gulimail.ware.vo.ReceivedVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author guoguo
 * @email 2418251830@qq.com
 * @date 2022-08-24 16:08:47
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceiveList(Map<String, Object> params);

    void mergePurchaseDetail(MergeVo mergeVo);

    /**
     * 采购人员领取采购单功能。
     * @param receivedVo
     */
    void received(ReceivedVo receivedVo);

    void finishDone(PurchaseFinishVo vo);
}

